<execappex> : Start Application

Starts (executes) application.

Syntax:

<execappexe>("AppFile", "Params", "Dir", StartState, Reserved)

AppFile
(Full) path to the application's file (e.g., "c:\program files\app\app.exe").
Can be a static text or variable containing text.

Params
List of parameters the application should be started with (e.g., "/n /g").
Can be a static text or variable containing text.

Dir
Start up directory.  The directory is made current before the application is started.
Can be a static text or variable containing text.

StartState
The state of the window:
0 - Normal
1 - Maximized
2 - Minimized
Can be a number or variable containing numeric value.

Reserved
Must be 0.

Example:

<#> This command starts Notepad maximized.
<#>
<cmds>
<execappex>("notepad.exe","","",1,0)